import com.sun.org.apache.bcel.internal.classfile.InnerClass;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-01-15
 * Time: 16:38
 */
public class OuterClass {
    static int b;
    String str;
    static class InnerClass {
        void test(){
            OuterClass outerClass = new OuterClass();
            b = 10;//外部类静态成员
           outerClass.str = "s";//实例化后访问
        }

    }
}
